package com.sxygsj.baselibrary.network.netException

import java.io.IOException

/**
 * @Author LD
 * @Time 2020/9/2 14:24
 * @Describe  自定义的异常处理类
 * @Modify
 */
class DataResultException : IOException {
    var msg: String
    var code: Int

    constructor(msg: String, code: Int) {
        this.msg = msg
        this.code = code
    }

    constructor(message: String?, msg: String, code: Int) : super(message) {
        this.msg = msg
        this.code = code
    }

}